﻿using CRM.Infrastructure.Attr;
using CRM.Infrastructure.Dto.Request.Login;
using CRM.Infrastructure.Dto.Response;
using CRM.Infrastructure.EFCore.Mysql;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CRM.Service.Interface
{
    [Provider_]
    public interface I_Login_Service
    {
        Task<SysUser?> Get_User_By_LastCode(string code, string v);
    
        /// <summary>
        /// 管理员登录
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Response_Dto> Logins(Login_Request_Dto dto);
    }
}
